﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace CMSMVC4.Areas.Admin.Models
{
    public class BanerModel
    {
        public string Url { get; set; }

        public string Name { get; set; }

        public int Status { get; set; }

        [Required]
        public int Location { get; set; }

        [Required]
        public int Type { get; set; }
    }

    public class EditBaneModel
    {
        public int Type { get; set; }

        public string Name { get; set; }

        public string Url { get; set; }
    }
}